package com.itheima.api;

import com.itheima.domain.User;

import java.util.List;

public interface UserApi {
    User findByMobile(String mobile);

    Long save(User user);

    void update(Long id,String mobile);

    void update(User user);

    List<User> findAll();

    User getByHxId(String hxId);

    User findById(long userId);
}
